var t = getApp();

Page({
    data: {
        list: ""
    },
    onLoad: function(t) {
        this.getData();
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    getData: function() {
        var n = this, o = t.getNetAddresss("plugin.lease-toy.api.retreat.return.return-detail");
        o += "&order_id=" + this.options.id, t._getNetWork({
            url: o,
            data: {},
            success: function(t) {
                var o = t.data;
                1 == o.result ? n.setData({
                    list: o.data
                }) : wx.showToast({
                    title: o.msg,
                    icon: "none",
                    duration: 1500
                });
            },
            fail: function(t) {
                console.log(t);
            }
        });
    }
});